
from api.api import ElasticSearchQueryResource
from flask_restful import reqparse


class DarenKOLMatchResource(ElasticSearchQueryResource):
    pass


daren_kol_match_parser = reqparse.RequestParser()
daren_kol_match_parser.add_argument('youka_id', type=str, location='json')
daren_kol_match_parser.add_argument('user_id', type=str, location='json')
daren_kol_match_parser.add_argument('user_ids', type=list, location='json')
daren_kol_match_parser.add_argument('term', type=str, location='json')
daren_kol_match_parser.add_argument('order_by', type=str, location='json')
daren_kol_match_parser.add_argument('from', type=int, location='json')
daren_kol_match_parser.add_argument('size', type=int, location='json')
daren_kol_match_parser.add_argument('filters', type=dict, location='json')
daren_kol_match_parser.add_argument('highlight', type=bool, location='json')

